package com.kafang.learnaid.demo2.service.impl;

import com.kafang.learnaid.demo2.entity.UserEntity;
import com.kafang.learnaid.demo2.mapper.UserMapper;
import com.kafang.learnaid.demo2.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<UserEntity> getAllEmployees() {
        return userMapper.selectAllEmployees();
    }
}
